The id-generator-class Element

From Documentation


The id-generator-class Element


Syntax:

<id-generator-class>a_class_name</id-generator-class>
[Default: none]

It specifies which class should be used to generate the UUID of page and components, and ID of desktops. The class must have a default constructor (without any argument), and implement the IdGenerator interface.

One instance of the ID generator is created and shared for each Web application, so you have to synchronize the access properly.

If no ID generator is specified, the default ID generation algorithm will be used.

Version History

Last Update : 2011/08/08


Version Date Content
     



Last Update : 2011/08/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.